using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using MT.eVotePRS.Common;

namespace MT.eVotePRS.UI
{
    public partial class frmSettingMenu : Form
    {
        public frmSettingMenu()
        {
            InitializeComponent();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
            this.Dispose();
        }

        private void btnInvReport_Click(object sender, EventArgs e)
        {
            string strProgramName = "Multi Receiver Channel Setting.exe";
            if (System.IO.File.Exists(strProgramName))
            {
                System.Diagnostics.Process.Start(strProgramName);
            }
            else
            {
                DialogBox.boxWarning("Can not found channel setting program '" + strProgramName + "'!", "Warning!");
            }
        }
    }
}